﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server">
<div style="text-align:left;vertical-align:middle;height:100%;">                    
            <table>            
                <tr>
                    <td style="text-align:right">
                        <asp:Label ID="lblLogin" runat="server" Text="Логін:" />                    
                    </td>
                    <td style="text-align:left">
                        <asp:TextBox ID="txtLogin" runat="server" Width="150px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right">
                        <asp:Label ID="lblPassword" runat="server" Text="Пароль:" />
                    </td>
                    <td style="text-align:left">
                        <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                    </td>
                </tr>    
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblError" runat="server" 
                            EnableViewState="false" ForeColor="Red" 
                            Text="Не коректне ім'я користувача або пароль" 
                            Visible="false" EnableTheming="false"/>
                    </td>
                </tr>            
                <tr>
                    <td>&nbsp;</td>
                    <td style="text-align:left">
                        <asp:Button ID="btnLogin" Text="Увійти" runat="server" OnClick="btnLogin_Click"/>
                    </td>
                </tr>    
            </table>    
    </div>
</asp:Content>

